//
//  UtilitiesFunctions.h
//  BulltinBoard
//
//  Created by joker on 15/6/26.
//  Copyright (c) 2015年 joker. All rights reserved.
//

#import <Foundation/Foundation.h>

    //决定是否使用测试
//#define _FOR_TEST
    //决定是否使用第三方库来进行网络请求
#define _USE_THIRDPART_FRAMEWORK_COMMUNICATION

#define _ADD_PULL_REFRESH

@interface UtilitiesFunctions : NSObject
+(NSURL *)serverSite;

+(void) showLogResultTitle:(NSString *) showTitle  withMessage:(NSString *)willShowMessage;
+ (NSString *)getMd5_32Bit_String:(NSString *)srcString;
+(NSString *)logInOAWithUserName:(NSString *) userName AndUserPasswords:(NSString *) userPassword;

+(NSString *)getBulltinItemsListWithOAfUserID:(NSString *)OAfUserID AccessKey:(NSString *)AccessKey PageSize: (NSNumber *) PageSize TimeStamp:(NSString *)TimeStamp;
+(NSString *)getBulltinItemDetailWithOAfUserID:(NSString *)OAfUserID AndAccessKey:(NSString *)AccessKey PlusOATitleID:(NSString *)OATitleID;
+(NSString *)convertTimestampStringToDisplay:(NSTimeInterval) secondsSince1970;
@end
